package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.kaili.utils.Annotation.CheckField;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_ewbs_transfer_detail")
public class HsEwbsTransferDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 中转单号
     */
    @TableId("transfer_no")
    @ApiModelProperty(hidden = true)
    private String transferNo;
    /**
     * 运单号
     */
    @TableField("ewb_no")
    @ApiModelProperty(value = "托运单号", required = true)
    @CheckField
    private String ewbNo;
    /**
     * 件数
     */
    @ApiModelProperty(value = "件数", required = true)
    @CheckField
    private Integer piece;

    /**
     * 扫描件数
     */
    @TableField("scan_piece")
    @ApiModelProperty(hidden = true)
    private Integer scanPiece;
    /**
     * 重量
     */
    @CheckField
    @ApiModelProperty(value = "重量", required = true)
    private BigDecimal weight;
    /**
     * 体积
     */
    @CheckField
    @ApiModelProperty(value = "体积", required = true)
    private BigDecimal vol;
    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备ID")
    @TableField("device_code")
    private String deviceCode;
    /**
     * 数据来源
     */
    @ApiModelProperty(hidden = true)
    @TableField("scan_source_id")
    private Integer scanSourceId;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @ApiModelProperty(hidden = true)
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 确认验收时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("check_time")
    private String checkTime;
    /**
     * 确认验收人id
     */
    @ApiModelProperty(hidden = true)
    @TableField("check_by")
    private Integer checkBy;

    /**
     * 操作网点ID
     */
    @ApiModelProperty(value = "操作网点", required = true)
    @TableField("site_id")
    @CheckField
    private Integer siteId;

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public String getTransferNo() {
        return transferNo;
    }

    public void setTransferNo(String transferNo) {
        this.transferNo = transferNo;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Integer getPiece() {
        return piece;
    }

    public void setPiece(Integer piece) {
        this.piece = piece;
    }

    public Integer getScanPiece() {
        return scanPiece;
    }

    public void setScanPiece(Integer scanPiece) {
        this.scanPiece = scanPiece;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVol() {
        return vol;
    }

    public void setVol(BigDecimal vol) {
        this.vol = vol;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Integer getScanSourceId() {
        return scanSourceId;
    }

    public void setScanSourceId(Integer scanSourceId) {
        this.scanSourceId = scanSourceId;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getCheckBy() {
        return checkBy;
    }

    public void setCheckBy(Integer checkBy) {
        this.checkBy = checkBy;
    }

    @Override
    public String toString() {
        return "HsEwbsTransferDetail{" +
        ", transferNo=" + transferNo +
        ", ewbNo=" + ewbNo +
        ", piece=" + piece +
        ", scanPiece=" + scanPiece +
        ", weight=" + weight +
        ", vol=" + vol +
        ", deviceCode=" + deviceCode +
        ", scanSourceId=" + scanSourceId +
        ", rdStatus=" + rdStatus +
        ", checkTime=" + checkTime +
        ", checkBy=" + checkBy +
        "}";
    }
}
